package com.hehui.partimejob.service.vo;


public class ServiceDataVo<T> {


    private String msg;
    private int code;
    private T data;

    public ServiceDataVo() {
    }

    public ServiceDataVo(String msg, int code, T data) {
        this.msg = msg;
        this.code = code;
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public ServiceDataVo<T> setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public int getCode() {
        return code;
    }

    public ServiceDataVo<T> setCode(int code) {
        this.code = code;
        return this;
    }

    public T getData() {
        return data;
    }

    public ServiceDataVo<T> setData(T data) {
        this.data = data;
        return this;
    }
}
